package com.marver.common.annotation;


import java.lang.annotation.*;

/**
 * @description: 访问限制注解
 * @Author: Marver
 * @date: 2018-04-19 16:13
 **/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AccessNum {
    //每分钟访问限制数
    int minVisitsNum() default 0;
    //每天访问限制数
    int dayVisitsNum() default 0;
}
